package com.guigu.liuzhireng.service;

import com.guigu.liuzhireng.pojo.PageVo;
import com.guigu.liuzhireng.pojo.Role;

import java.util.List;

public interface RoleService {

    int update(Role role);
    int insert(Role role);
    int delete(Integer id);

    PageVo<Role> Page(Role role, int num, int size);

    List<Role> list();
}
